#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<list>
using namespace std;

int main()
{
	list<int> li = { 1,2,3,4,5 };
	cout << "Size of list: " << li.size() << endl;
	cout << "Max size of list: " << li.max_size() << endl;
	if (li.empty())
	{
		cout << "empty" << endl;
	}
	else
	{
		cout << "not empty" << endl;
	}
	li.clear();
	if (li.empty())
	{
		cout << "empty" << endl;
	}
	else
	{
		cout << "not empty" << endl;
	}
	return 0;
}